<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="id" />

		<?php
		$baseUrl = Yii::app()->request->baseUrl;
		$themeBaseUrl = Yii::app()->theme->baseUrl;
		$path = $themeBaseUrl . '/css/form.1.css';
		Yii::app()->clientScript->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/css/style.3.css';
		Yii::app()->clientScript->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/css/really-simple-slideshow.css';
		Yii::app()->clientScript->registerCssFile($path, 'screen');
		?>

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>

    <body>

        <div id="page">

			<div id="sidebar">

					<?php
					// Calendar
					$properties = array(
						'title'=>'Kalendar',
						'tagName'=>'div',
						'contentCssClass'=>'view',
					);
					$this->beginWidget('zii.widgets.CPortlet', $properties);
					$properties = array(
						'noLink'=>true,
					);
					$this->widget('CalendarWidget', $properties);
					$this->endWidget();
					
					// Send News
					$properties = array(
						'title'=>'Kirim Berita',
						'tagName'=>'div',
						'contentCssClass'=>'form',
					);
					$this->beginWidget('zii.widgets.CPortlet', $properties);
					$this->widget("WebNewsWidget");
					$this->endWidget();
					?>

			</div><!-- sidebar -->

			<div id="content">
				<?php echo $content; ?>
			</div>



        </div><!-- page -->

    </body>

</html>
